package com.qf.j2112.mapper;

import com.qf.j2112.po.TourArea;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface TourAreaMapper {

    List<TourArea> findAll();

    List<TourArea> findUsefulTourArea();

    TourArea findOneByAid(int aid);

    int banTourArea(@Param("aid") int aid, @Param("status") String status);

    int addTourArea(TourArea area);

    int delTourArea(int aid);

    int updateTourArea(TourArea area);

    int countArea();
}
